<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="returnPayReportList" title="退货赔偿统计表" actionUrl="returnReportController.do?datagrid2"  idField="id"  fit="true" queryMode="group" autoLoadData="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="退货日期" field="Fdate" formatter="yyyy-MM-dd"  isDate="true"  query="true" queryMode="group" hidden="false"></t:dgCol>
   <t:dgCol title="客户名称" field="FCustName" query="true"></t:dgCol>
   <t:dgCol title="产品数量" field="sum_Fauxqty" ></t:dgCol>
   <t:dgCol title="赔偿金额" field="sum_FEntrySelfT0434" ></t:dgCol>
   <t:dgCol title="退货金额" field="sum_FEntrySelfT0431" ></t:dgCol>
   <t:dgCol title="处理判定" field="FEntrySelfT0437"  query="true"></t:dgCol>
   <t:dgCol title="退货原因" field="FEntrySelfT0432" query="true"></t:dgCol>
   <t:dgCol title="物料名称" field="FName"  query="true" dictionary="GZ"></t:dgCol>
   <t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"   operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("returnReportController.do?export2","returnPayReportList");
	}
	
</script>

